package com.tqjc.system.system.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.*;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author 86195
 * @version 1.0
 * @description 报文信息记录对象
 * @date 2023/10/31 9:48
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("tqjc_xg_message_record")
public class SysMessageRecordEntity {

    @TableId(type = IdType.AUTO)
    private Long idKey;


    private LocalDateTime sendDate;

    private String send;

    private String accept;

    private String messageBody;

    /**
     * 信息处理状态（init:初始化，succ:成功，err:失败）
     */
    private String status;

    private String errMsg;

    private String sendCode;

    private String msgNo;

    private Integer msgLength;

    @TableField(value="CREATE_NAME", fill= FieldFill.INSERT)
    private String createName;

    @TableField(value="CREATE_DATE", fill=FieldFill.INSERT)
    private Date createDate;

    @TableField(value="UPDATE_NAME", fill=FieldFill.UPDATE)
    private String updateName;

    @TableField(value="UPDATE_DATE", fill=FieldFill.UPDATE)
    private Date updateDate;
}
